import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
// import { Base_BatchesComponent } from './productModel/base_Batches/base_Batches.component';
// import { Base_PhasesComponent } from './productModel/base_Phases/base_Phases.component';
// import { Base_ModelsComponent } from './productModel/base_Models/base_Models.component';
// import { DashboardComponent } from './dashboard/dashboard.component';
// import { DashboardLearderComponent } from './dashboard/dashboard-leader.component';

@NgModule({
    imports: [
        RouterModule.forChild([
            {
                path: '',
                children: [
                    // { path: 'productModel/base_Batches', component: Base_BatchesComponent, data: { permission: 'Pages.Base_Batches' }  },
                    // { path: 'productModel/base_Phases', component: Base_PhasesComponent, data: { permission: 'Pages.Base_Phases' }  },
                    // { path: 'productModel/base_Models', component: Base_ModelsComponent, data: { permission: 'Pages.Base_Models' }  },
                    // {
                    //     path: 'dashboard',
                    //     component: DashboardComponent
                    // },
                    // {
                    //     path: 'leaderdashboard',
                    //     component: DashboardLearderComponent
                    // }
                ]
            }
        ])
    ],
    exports: [RouterModule]
})
export class MainRoutingModule {}
